package com.lw.test.config;

import com.lw.test.entity.UserInfo;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/** @author YiFeiXi */
@Configuration
public class UserConfig {

  @Bean
//  @ConditionalOnMissingBean
  public UserInfo defaultUserInfo(){
    return new UserInfo(1, "张", "三");

  }
}
